$def with (bench)

<html>
<head>
  <title> TTPod Webbench测试 </title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" type="text/css" href="/static/css/base.css" />
</head>
<body>
<div align="center">
  <form method="post" action="/">
    webbench&nbsp;
    -c
	<input type="text" size="4" name="c" value="">&nbsp; 
	-t&nbsp;
	<input type="text" size="4" name="t" value="">&nbsp; 
	url
	<input type="text" size="65" name="url" value=""><br/>
	<input type="submit" value="开始压测……">
  </form>
  <hr/>
  <textarea rows="10" cols="65" readonly="readonly">$bench.msg
  </textarea>
  <hr/>
  <table border="0" cellpadding="3" width="600">
	<caption>压测历史记录</caption>
      <tr>
	      <th>编号</th>
	      <th>并发数</th>
	      <th>持续时间</th>
	      <th>url</th>
	      <th>速度</th>
	      <th>请求数</th>
	      <th>时间</th>
      </tr>
  $for row in bench.data:
      <tr>
      	  <td>$loop.index</td>
	      <td>$row[1]</td>
	      <td>$row[2]</td>
	      <td>$row[3]</td>
	      <td>$row[4]</td>
	      <td>$row[5]</td>
	      <td>$row[6]</td>
      </tr>
  </table>
  <hr>
  <table border="0" cellpadding="3" width="600">
    <caption>FAQ</caption>    
  	  <tr><th align="left">-f|--force</th><td>Don't wait for reply from server.</td></tr>
  	  <tr><th align="left">-r|--reload</th><td>Send reload request - Pragma: no-cache.</td></tr>
 	  <tr><th align="left">-t|--time&lt;sec&gt;</th><td>Run benchmark for &lt;sec&gt; seconds. Default 30.</td></tr>
  	  <tr><th align="left">-p|--proxy &lt;server:port&gt; </th><td>Use proxy server for request.</td></tr>
  	  <tr><th align="left">-c|--clients &lt;n&gt;</th><td>Run &lt;n&gt; HTTP clients at once. Default one.</td></tr>
  	  <tr><th align="left">-9|--http09</th><td>Use HTTP/0.9 style requests.</td></tr>
  	  <tr><th align="left">-1|--http10</th><td>Use HTTP/1.0 protocol.</td></tr>
  	  <tr><th align="left">-2|--http11</th><td>Use HTTP/1.1 protocol.</td></tr>
  	  <tr><th align="left">url</th><td>test url.</td></tr>
  </table>
</div>
</body>
</html>